package com.meida.module.bus.client.entity;

import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.experimental.Accessors;
import com.meida.common.mybatis.annotation.TableAlias;

/**
 * VIEW
 *
 * @author flyme
 * @date 2020-12-05
 */
@Data
@Accessors(chain = true)
@TableName("bus_master_alldata_view")
@TableAlias("bmav")
@ApiModel(value="BusMasterAlldataView对象", description="VIEW")
public class BusMasterAlldataView {

private static final long serialVersionUID=1L;

    @TableField(exist = false)
    @JsonFormat(pattern="yyyy-MM",timezone = "GMT+8")
    private Date calDateBe;

    @TableField(exist = false)
    @JsonFormat(pattern="yyyy-MM",timezone = "GMT+8")
    private Date calDateAf;

    private Long materialId;

    private Long packagePlanId;

    private Integer ver;

    private String type;

    private String instructNumber;

    private String dataKind;

    private Integer planType;

    private String projectCode;

    private String projectName;

    private String majorName;

    private String majorCode;

    private String packageName;

    private String packageNo;

    private String materialWbsCode;

    private String materialCode;

    private String materialName;

    private String materiaSpecs;

    private String materialDesc;

    private String technicalData;

    private String serviceWbsCode;

    private String serviceCode;

    private String subjectName;

    private String packageDesc;

    private String levelNo;

    private String contractDesc;

    private String materialArea;

    private String materialUse;

    private BigDecimal contractBillQuantity;

    private BigDecimal beforeMarkQuantity;

    private BigDecimal costQuantity100;

    private BigDecimal costQuantity200;

    private String loss;

    private String measurementUnit;

    private BigDecimal unitBillQuantity100;

    private BigDecimal unitBillQuantity200;

    private BigDecimal currentFinishMonthCount;

    private BigDecimal lastFinishMonthCount;

    private BigDecimal totalFinishCount;

    private BigDecimal mainPrice;

    private BigDecimal installPrice;

    private BigDecimal syntheticalPrice;

    private BigDecimal mainAmount;

    private BigDecimal installAmount;

    private BigDecimal syntheticalAmount;

    private BigDecimal mainPrice1;

    private BigDecimal installPrice1;

    private BigDecimal syntheticalPrice1;

    private BigDecimal mainPrice2;

    private BigDecimal installPrice2;

    private BigDecimal syntheticalPrice2;

    private BigDecimal mainPrice3;

    private BigDecimal installPrice3;

    private BigDecimal syntheticalPrice3;

    private BigDecimal mainAmount1;

    private BigDecimal installAmount1;

    private BigDecimal syntheticalAmount1;

    private BigDecimal mainAmount2;

    private BigDecimal installAmount2;

    private BigDecimal syntheticalAmount2;

    private BigDecimal mainAmount3;

    private BigDecimal installAmount3;

    private BigDecimal syntheticalAmount3;

    private BigDecimal mainsumPrice1;

    private BigDecimal installsumPrice1;

    private BigDecimal contractsumSyntheticalPrice1;

    private BigDecimal mainsumPrice2;

    private BigDecimal installsumPrice2;

    private BigDecimal contractsumSyntheticalPrice2;

    private BigDecimal mainsumPrice3;

    private BigDecimal installsumPrice3;

    private BigDecimal contractsumSyntheticalPrice3;

    private BigDecimal currentMonthmainPrice;

    private BigDecimal currentMonthinstallPrice;

    private BigDecimal currentMonthsumPrice;

    private BigDecimal lastMonthmainPrice;

    private BigDecimal lastMonthinstallPrice;

    private BigDecimal lastMonthsumPrice;

    private BigDecimal totalMonthmainPrice;

    private BigDecimal totalMonthinstallPrice;

    private BigDecimal totalsumPrice;

    private String brandName;

    // 实现比列_本月实现比例（%）
    private BigDecimal realizationRatioThisMonth;
    // 实现比列_截至上月实现比例（%）
    private BigDecimal asOfLastMonthsRealizationRatio;
    // 实现比列_累计实现比例（%）
    private BigDecimal cumulativeRealizationRatio;

    // 理论产值（未税）_本月实现金额
    private BigDecimal amountRealizedThisMonth;
    // 理论产值（未税）_截至上月实现金额
    private BigDecimal amountRealizedAsOfLastMonth;
    // 理论产值（未税）_累计实现金额
    private BigDecimal cumulativeRealizedAmount;

    private String remark;

}
